package com.charlotte.study.gupao.bridge.message;

/**
 * @author junjie.ding
 * @date 2020/3/11
 */
public abstract class AbstractMessage {

    private IMessage iMessage;

    public AbstractMessage(IMessage iMessage) {
        this.iMessage = iMessage;
    }

    public void sendMessage(String message, String toUser){
        this.iMessage.send(message, toUser);
    }
}
